def BIN2frame(chunk):
    # convert BIN data to frame

    # create a 60*26 array filled with zero
    frame = []
    for i in range (0,60):
        frame.append([0]*26)

    for i in range(0,60):
        for j in range(0,26):
            word = ord(chunk[26*2*i+2*j+0])+256*ord(chunk[26*2*i+2*j+1])
            frame[i][j] = word

    return(frame)
